package cn.tony.game.super_tank;

import java.awt.Color;
import java.awt.Graphics;

public class NameTitle extends Drawable {

	public String name = "Tonyruiyu";

	Color color = Color.cyan;

	public NameTitle(String name) {
		this.name = name;
	}

	@Override
	public void draw(Graphics g) {
		g.setColor(color);
		g.drawString(name, x, y);
	}

}
